package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;

/**
 * @Author: xulinjun
 * @Date: 2021-7-15 14:46
 */
@Data
@Accessors(chain = true)
public class TermBasicEntity extends BasicFieldEntity implements Serializable {
    @TableField(value = "term_key")
    private String termKey;

    @TableField(value = "meta", typeHandler = FastjsonTypeHandler.class)
    private JSONObject meta;
}
